package com.xsdl.giteespringboottest.service.impl;

import cn.hutool.core.lang.UUID;
import com.xsdl.giteespringboottest.dao.UserDao;
import com.xsdl.giteespringboottest.pojo.User;
import com.xsdl.giteespringboottest.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("userService")
@Slf4j
public class UserServiceImpl implements UserService {

    @Autowired
    UserDao userDao;

    @Override
    public List<User> findAll() {
        return userDao.findAll();
    }
}
